package com.sskj.xgja.transaction.data;


public class CoinDetail {
    /**
     * 股票代码
     */
    private String code;
    /**
     * 股票类型 1:A股 2:港股 3:美股 4:商品
     */
    private String type;
    /**
     * 股票名称
     */
    private String name;
    /**
     * 股票英文名称
     */
    private String engName;
    /**
     * 最新价
     */
    private String price;
    /**
     * 成交量
     */
    private String volume;
    /**
     * 现手
     */
    private String nowCount;
    /**
     * 开盘价
     */
    private String openPrice;
    /**
     * 昨收盘价
     */
    private String closePrice;
    /**
     * 昨收盘价
     */
    private String prevClose;
    /**
     * 最高价
     */
    private String high;
    /**
     * 最低价
     */
    private String low;
    /**
     * 涨跌
     */
    private String change;
    /**
     * 涨跌幅度
     */
    private String changeRate;
    /**
     * 日期
     */
    private long date;
    /**
     * 每手股数
     */
    private String mggs;
    /**
     * 价格区间
     */
    private String jggd;
    /**
     * 做多状态：-1:禁止 1:允许
     */
    private Integer goingLongStatus;
    /**
     * 做空状态：-1:禁止 1:允许
     */
    private Integer shortSellingStatus;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 标志位 0:正常 -1:删除
     */
    private Integer status;
    /**
     * 手续费比例
     */
    private String dealFee;
    /**
     * 是否已经置顶
     */
    private Integer topChoice;
    private long timestamp;
    /**
     * 交易金额设置
     */
    private String dealMoney;
    /**
     * 点差
     */
    private Integer spotSpread;
    /**
     * 止盈点位
     */
    private Integer stopProfit;
    /**
     * 止损点位
     */
    private Integer stopLoss;
    /**
     * 保证金
     */
    private double cashDeposit;
    /**
     * 点位波动差值默认50美元
     */
    private String floatMoney;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEngName() {
        return engName;
    }

    public void setEngName(String engName) {
        this.engName = engName;
    }

    public String getPrice() {
        return price == null ? "0" : price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getNowCount() {
        return nowCount;
    }

    public void setNowCount(String nowCount) {
        this.nowCount = nowCount;
    }

    public String getOpenPrice() {
        return openPrice;
    }

    public void setOpenPrice(String openPrice) {
        this.openPrice = openPrice;
    }

    public String getClosePrice() {
        return closePrice;
    }

    public void setClosePrice(String closePrice) {
        this.closePrice = closePrice;
    }

    public String getPrevClose() {
        return prevClose;
    }

    public void setPrevClose(String prevClose) {
        this.prevClose = prevClose;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getLow() {
        return low;
    }

    public void setLow(String low) {
        this.low = low;
    }

    public String getChange() {
        return change;
    }

    public void setChange(String change) {
        this.change = change;
    }

    public String getChangeRate() {
        return changeRate;
    }

    public void setChangeRate(String changeRate) {
        this.changeRate = changeRate;
    }

    public long getlong() {
        return date;
    }

    public void setlong(long date) {
        this.date = date;
    }

    public String getMggs() {
        return mggs;
    }

    public void setMggs(String mggs) {
        this.mggs = mggs;
    }

    public String getJggd() {
        return jggd;
    }

    public void setJggd(String jggd) {
        this.jggd = jggd;
    }

    public Integer getGoingLongStatus() {
        return goingLongStatus;
    }

    public void setGoingLongStatus(Integer goingLongStatus) {
        this.goingLongStatus = goingLongStatus;
    }

    public Integer getShortSellingStatus() {
        return shortSellingStatus;
    }

    public void setShortSellingStatus(Integer shortSellingStatus) {
        this.shortSellingStatus = shortSellingStatus;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDealFee() {
        return dealFee;
    }

    public void setDealFee(String dealFee) {
        this.dealFee = dealFee;
    }

    public Integer getTopChoice() {
        return topChoice;
    }

    public void setTopChoice(Integer topChoice) {
        this.topChoice = topChoice;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getDealMoney() {
        return dealMoney;
    }

    public void setDealMoney(String dealMoney) {
        this.dealMoney = dealMoney;
    }

    public Integer getSpotSpread() {
        return spotSpread;
    }

    public void setSpotSpread(Integer spotSpread) {
        this.spotSpread = spotSpread;
    }

    public Integer getStopProfit() {
        return stopProfit;
    }

    public void setStopProfit(Integer stopProfit) {
        this.stopProfit = stopProfit;
    }

    public Integer getStopLoss() {
        return stopLoss;
    }

    public void setStopLoss(Integer stopLoss) {
        this.stopLoss = stopLoss;
    }

    public double getCashDeposit() {
        return cashDeposit;
    }

    public void setCashDeposit(double cashDeposit) {
        this.cashDeposit = cashDeposit;
    }

    public String getFloatMoney() {
        return floatMoney;
    }

    public void setFloatMoney(String floatMoney) {
        this.floatMoney = floatMoney;
    }
}
